package com.ys.web.user.friends.po;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author quxinjun
 * @version 1.0.0
 * @ClassName BaseUserGroupPO.java
 * @Description 用户组别关联表
 * @createTime 2021年05月13日 19:57:00
 */
@Data
@Accessors(chain = true)
@Table(name = "user_group")
public class BaseUserGroupPO {

    /**
     * 主键
     */
    @Id
    public Long id;

    /**
     * 用户id
     */
    public String userId;

    /**
     * 组id
     */
    public Long groupId;

    /**
     * 组昵称
     */
    public String userGroupRemark;

    /**
     * 用户身份
     */
    public Integer userIdentity;

    /**
     * 状态
     */
    public Integer status;

    /**
     * 创建时间
     */
    public Date createTime;

    /**
     * 修改时间
     */
    public Date updateTime;

    /**
     * 邀请人id
     */
    public String inviteId;

    /**
     * 审核人id
     */
    public String auditId;

    /**
     * 审核状态
     */
    public Integer auditStatus;

    /**
     * 审核时间
     */
    public String auditTime;

    public String delTime;

    /**
     * 消息免打扰
     */
    @Column(name = "disturb",insertable = false)
    public Boolean disturb;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public String getUserGroupRemark() {
        return userGroupRemark;
    }

    public void setUserGroupRemark(String userGroupRemark) {
        this.userGroupRemark = userGroupRemark;
    }

    public Integer getUserIdentity() {
        return userIdentity;
    }

    public void setUserIdentity(Integer userIdentity) {
        this.userIdentity = userIdentity;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getInviteId() {
        return inviteId;
    }

    public void setInviteId(String inviteId) {
        this.inviteId = inviteId;
    }

    public String getAuditId() {
        return auditId;
    }

    public void setAuditId(String auditId) {
        this.auditId = auditId;
    }

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(String auditTime) {
        this.auditTime = auditTime;
    }

    public String getDelTime() {
        return delTime;
    }

    public void setDelTime(String delTime) {
        this.delTime = delTime;
    }

    public Boolean getDisturb() {
        return disturb;
    }

    public void setDisturb(Boolean disturb) {
        this.disturb = disturb;
    }
}
